using System;
using NCommet.Core;

namespace NCommet.Modules.TypedTreeValidatorTest
{
    /// <summary>
    /// Content class for a comment on a post.
    /// </summary>
    [Serializable]
    public class Comment : ContentBase
    {

        private string body;

        /// <summary>
        /// The HTML body of the comment.
        /// </summary>
        public virtual string Body
        {
            get { return body; }
            set { body = value; }
        }

        private string author;

        /// <summary>
        /// The author of the comment.
        /// </summary>
        public virtual string Author
        {
            get { return author; }
            set { author = value; }
        }

    }
}
